# 03-捕获所有异常.py
try:
    print(age)
except Exception as e:
    print(e)
else:
    print('当程序无异常，就会执行这里的代码块！')
finally:
    print('无论是否有异常都会执行!')

